<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	<style type="text/css">
	.father{
		width: 500px;
		height: 500px;
		position: relative;
		background: red;
	}
	.box{
		width: 400px;
		height: 400px;
		background: green;
		position: absolute;


	}
	.son{
		width: 300px;
		height: 300px;
		background: pink;
		position: relative;

	}
	.sunzhi{
		width: 200px;
		height: 200px;
		background: orange;
		position: absolute;
		right:10px;
	}
	</style>
</head>
<body>
	<div class="father">
		<div class="box">
			<div class="son">
				<div class="sunzhi"></div>
			</div>
		</div>
	</div>

</body>
</html>